class Base {
    private int x3 = initPrint1();
    public String s3 = "基类实例变量s3";
 
    private static int x4 = initPrint2();
    private static String s4 = "基类静态变量s4";
 
    private int initPrint1() {
        System.out.println("基类initPrint1 实例变量s3:" + s3);
        System.out.println("基类initPrint1 静态变量s4:" + s4);
        return 11;
    }
 
    private static int initPrint2() {
        System.out.println("基类initPrint2 静态变量s4:" + s4);
        return 21;
    }
 
    public Base(int i) {
        System.out.println("基类构造器 int i");
    }
 
    public void callName() {
        System.out.println(s3);
    }
 
    public static void sMethodBase() {
        System.out.println("基类静态方法sMethodBase 静态变量s4："+s4);
    }
}